package com.atguigu.yygh.order.service;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * @author: Administrator
 * @date: 2023-02-10 15:55
 * @desc:
 */
public interface WeixinService {
    //生成微信支付二维码
    Map<String, Object> createNative(Long orderId);

    //调用微信接口实现支付状态查询
    Map<String, String> queryPayStatus(Long orderId);

    /***
     * 退款
     * @param orderId
     * @return
     */
    Boolean refund(Long orderId);
}
